package models

type SysCourseGift struct {
	Model
	CourseId   int    `json:"course_id" gorm:"type:int(10);comment:课程ID"`
	GiftType   string `json:"gift_type" gorm:"type:varchar(30);comment:赠送类型"`
	CourseType string `json:"course_type" gorm:"type:varchar(20);comment:课程类型"`
	ObjIds     string `json:"obj_ids" gorm:"type:varchar(50);comment:对象ID"`
}

func (SysCourseGift) TableName() string {
	return "sys_course_gift"
}
